<?php $theme->display ( 'header' ); ?>
<!-- single.php -->
<?php $photo = ( in_array( 'flickr_photos', $post->tags ) ? true : false); ?>

	<section id="articles">
		<?php 
			if( $photo ) :
				$theme->content($post, 'photos' ); 
			else:
				$theme->content($post); 
			endif;
		?>
	</section>
	<?php
	if( $request->display_entry && !in_array( 'flickr_photos', $post->tags ) ) :
	    $theme->display( 'commentform' ); 
	endif; 
	?>
<?php //$theme->display('sidebar'); ?>
<!-- /single.php -->
<?php if( !$photo ) $theme->display ( 'footer' ); ?>